package com.sansan.qiangji.service.impl.warehouse;

import com.sansan.qiangji.entity.warehouse.MoveBoxDetail;
import com.sansan.qiangji.entity.warehouse.example.MoveBoxDetailExample;
import com.sansan.qiangji.mapper.warehouse.MoveBoxDetailMapper;
import com.sansan.qiangji.service.inter.warehouse.MoveBoxDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MoveBoxDetailServiceImpl implements MoveBoxDetailService {
    @Autowired
    private MoveBoxDetailMapper moveBoxDetailMapper;

    @Override
    public long countByExample(MoveBoxDetailExample example) {
        return moveBoxDetailMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(MoveBoxDetailExample example) {
        return moveBoxDetailMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer moveDetailId) {
        return moveBoxDetailMapper.deleteByPrimaryKey(moveDetailId);
    }

    @Override
    public int insert(MoveBoxDetail record) {
        return moveBoxDetailMapper.insert(record);
    }

    @Override
    public int insertSelective(MoveBoxDetail record) {
        return moveBoxDetailMapper.insertSelective(record);
    }

    @Override
    public List<MoveBoxDetail> selectByExample(MoveBoxDetailExample example) {
        return moveBoxDetailMapper.selectByExample(example);
    }

    @Override
    public MoveBoxDetail selectByPrimaryKey(Integer moveDetailId) {
        return moveBoxDetailMapper.selectByPrimaryKey(moveDetailId);
    }

    @Override
    public int updateByExampleSelective(MoveBoxDetail record, MoveBoxDetailExample example) {
        return moveBoxDetailMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(MoveBoxDetail record, MoveBoxDetailExample example) {
        return moveBoxDetailMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(MoveBoxDetail record) {
        return moveBoxDetailMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MoveBoxDetail record) {
        return moveBoxDetailMapper.updateByPrimaryKey(record);
    }
}
